package cn.itcast.springboot.service;

public class Demo {

    public static void main(String[] args) {
        ThreadLocal<String> local = new ThreadLocal<String>();

        local.set("hello");

        String s = local.get();

        System.out.println(s);

        local.remove();

    }
}
